<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex flex-wrap align-center justify-between benben-position-layout flex rulesExchange_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center rulesExchange_fd0_0' @tap.stop="handleJumpDiy" data-type="back"
					data-url="1">
					<image class='rulesExchange_fd0_0_c0' mode="aspectFit" :src='STATIC_URL+"234.png"'></image>
				</view>
				<text class='rulesExchange_fd0_1'>积分兑换</text>
				<view class='flex flex-wrap align-center rulesExchange_fd0_0'>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<view class="ben_fu-jyf-parser_1">
				<jyf-parser :html="dataMessage.content | richTextFormat"></jyf-parser>
			</view>


		</view>
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'
	export default {
		components: {},


		data() {
			return {
				"dataMessage": {
					"content": ""
				}
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			this.getMessageFunc()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//获取兑换规则
			async getMessageFunc() {
				//请求方法
				//数据验证

				let datadataMessage = await this.$api.post(`/${this.apiFix}/63a6ac771882e`, {
					aid: 6
				});

				if (datadataMessage.data.code != 1) {
					this.$message.info(datadataMessage.data.msg);
					return
				}
				let infodataMessage = datadataMessage.data;
				this.dataMessage = infodataMessage.data
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background-size: 100% auto;
		background-color: #fff
	}

	.rulesExchange_flex_0 {
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-color: #fff;
		border-bottom: 1rpx solid #eee;
	}

	.rulesExchange_fd0_1 {
		color: #333333;
		font-size: 36rpx;
		font-weight: 500;
	}

	.rulesExchange_fd0_0_c0 {
		width: 20rpx;
		height: 36rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 0rpx 0rpx 32rpx;
	}

	.rulesExchange_fd0_0 {
		width: 100rpx;
		height: 88rpx;
	}

	.ben_fu-jyf-parser_1 {
		padding: 24rpx;
		border-radius: 16rpx;
	}
</style>